/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ejb.facade;

import ejb.entity.OperationsBatch;
import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author Trasheur
 */
@Stateless
public class OperationsBatchFacade extends AbstractFacade<OperationsBatch> implements OperationsBatchFacadeLocal, ejb.facade.OperationsBatchFacadeRemote {

    @PersistenceContext(unitName = "INF3_BANQUE-ejbPU-OPERATIONS_BATCH")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public OperationsBatchFacade() {
        super(OperationsBatch.class);
    }
}
